package com.mbiolance.cloud.activiti.repository;

import com.mbiolance.cloud.activiti.entity.ActivitiForm;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ActivitiFormRepository extends JpaRepository<ActivitiForm, Integer>, JpaSpecificationExecutor<ActivitiForm> {

    List<ActivitiForm> findByKey(String formKey);

}
